using System;
using System.Collections.Generic;
using System.Text;
using AF_ORM.CORE;
using System.Data;
using System.Configuration;
using Bussiness.Config;     
using Bussiness.Entity;
namespace Bussiness.ManagerBase
{
                

     public abstract class Vw_aspnet_WebPartState_PathsManagerBase
    {
        public Vw_aspnet_WebPartState_PathsManagerBase()
        {
            Adapter.ConnectionString =  ConnectionConfig.ConnectionString;            
        }
                    
 
        /// <summary>
        /// Them moi du lieu
        /// </summary>
        /// <returns>Vw_aspnet_WebPartState_PathsEntity</returns>
        public Vw_aspnet_WebPartState_PathsEntity Insert(Vw_aspnet_WebPartState_PathsEntity obj)
        { 
            return (Vw_aspnet_WebPartState_PathsEntity) Adapter.Insert(obj);             
        }
 
 
        /// <summary>
        /// Update du lieu theo khoa chinh cua object
        /// </summary>
        /// <returns>Vw_aspnet_WebPartState_PathsEntity</returns>
        public Vw_aspnet_WebPartState_PathsEntity Update(Vw_aspnet_WebPartState_PathsEntity obj)
        { 
            return (Vw_aspnet_WebPartState_PathsEntity)Adapter.Update(obj);             
        }
 
 
        public Vw_aspnet_WebPartState_PathsEntity Delete(Vw_aspnet_WebPartState_PathsEntity obj)
        { 
            return (Vw_aspnet_WebPartState_PathsEntity)Adapter.Delete(obj);             
        }
 


        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien ApplicationId duoc set trong object
        /// </summary>
        /// <returns>Vw_aspnet_WebPartState_PathsEntity</returns>
        public Vw_aspnet_WebPartState_PathsEntity DeleteByApplicationId (Vw_aspnet_WebPartState_PathsEntity obj)
        { 
            return (Vw_aspnet_WebPartState_PathsEntity)Adapter.DeleteByField(obj,"ApplicationId");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien ApplicationId 
        /// </summary>
        /// <returns>Vw_aspnet_WebPartState_PathsEntity</returns>
        public Vw_aspnet_WebPartState_PathsEntity DeleteByApplicationId (Guid ApplicationId )
        { 
            Vw_aspnet_WebPartState_PathsEntity obj = new Vw_aspnet_WebPartState_PathsEntity();
            obj.ApplicationId = ApplicationId;  
            return (Vw_aspnet_WebPartState_PathsEntity)Adapter.DeleteByField(obj,"ApplicationId");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien LoweredPath duoc set trong object
        /// </summary>
        /// <returns>Vw_aspnet_WebPartState_PathsEntity</returns>
        public Vw_aspnet_WebPartState_PathsEntity DeleteByLoweredPath (Vw_aspnet_WebPartState_PathsEntity obj)
        { 
            return (Vw_aspnet_WebPartState_PathsEntity)Adapter.DeleteByField(obj,"LoweredPath");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien LoweredPath 
        /// </summary>
        /// <returns>Vw_aspnet_WebPartState_PathsEntity</returns>
        public Vw_aspnet_WebPartState_PathsEntity DeleteByLoweredPath (string LoweredPath )
        { 
            Vw_aspnet_WebPartState_PathsEntity obj = new Vw_aspnet_WebPartState_PathsEntity();
            obj.LoweredPath = LoweredPath;  
            return (Vw_aspnet_WebPartState_PathsEntity)Adapter.DeleteByField(obj,"LoweredPath");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien Path duoc set trong object
        /// </summary>
        /// <returns>Vw_aspnet_WebPartState_PathsEntity</returns>
        public Vw_aspnet_WebPartState_PathsEntity DeleteByPath (Vw_aspnet_WebPartState_PathsEntity obj)
        { 
            return (Vw_aspnet_WebPartState_PathsEntity)Adapter.DeleteByField(obj,"Path");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien Path 
        /// </summary>
        /// <returns>Vw_aspnet_WebPartState_PathsEntity</returns>
        public Vw_aspnet_WebPartState_PathsEntity DeleteByPath (string Path )
        { 
            Vw_aspnet_WebPartState_PathsEntity obj = new Vw_aspnet_WebPartState_PathsEntity();
            obj.Path = Path;  
            return (Vw_aspnet_WebPartState_PathsEntity)Adapter.DeleteByField(obj,"Path");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien PathId duoc set trong object
        /// </summary>
        /// <returns>Vw_aspnet_WebPartState_PathsEntity</returns>
        public Vw_aspnet_WebPartState_PathsEntity DeleteByPathId (Vw_aspnet_WebPartState_PathsEntity obj)
        { 
            return (Vw_aspnet_WebPartState_PathsEntity)Adapter.DeleteByField(obj,"PathId");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien PathId 
        /// </summary>
        /// <returns>Vw_aspnet_WebPartState_PathsEntity</returns>
        public Vw_aspnet_WebPartState_PathsEntity DeleteByPathId (Guid PathId )
        { 
            Vw_aspnet_WebPartState_PathsEntity obj = new Vw_aspnet_WebPartState_PathsEntity();
            obj.PathId = PathId;  
            return (Vw_aspnet_WebPartState_PathsEntity)Adapter.DeleteByField(obj,"PathId");
        }

 
        /// <summary>
        /// Lay du lieu theo khoa chinh object
        /// </summary>
        /// <returns></returns>
        public Vw_aspnet_WebPartState_PathsEntity Select(Vw_aspnet_WebPartState_PathsEntity obj)
        { 
            return (Vw_aspnet_WebPartState_PathsEntity) Adapter.Select(obj);             
        }
 
 
        /// <summary>
        /// Lay du lieu theo cac dieu kien duoc set trong object
        /// </summary>
        /// <returns></returns>
        public DataTable SelectWithCondition(Vw_aspnet_WebPartState_PathsEntity obj)
        { 
            return  Adapter.SelectWithCondition(obj);             
        }
 
 
        /// <summary>
        /// Lay du lieu theo cac dieu kien duoc set trong object
        /// </summary>
        /// <returns></returns>
        public DataTable SelectWithCondition(Vw_aspnet_WebPartState_PathsEntity obj,SelectOptions option)
        {             
            return  Adapter.SelectWithCondition(obj,option);             
        }
 
 
        /// <summary>
        /// Lay tat ca cac du lieu trong table
        /// </summary>
        /// <returns></returns>
        public DataTable SelectAll()
        { 
            return Adapter.SelectAll(new Vw_aspnet_WebPartState_PathsEntity());             
        }
 
 
        /// <summary>
        /// Lay tat ca cac du lieu trong table
        /// </summary>
        /// <returns></returns>
        public DataTable SelectAll(SelectOptions option)
        { 
            return Adapter.SelectAll(new Vw_aspnet_WebPartState_PathsEntity(),option);             
        }
 
 
        /// <summary>
        /// Lay tat ca cac du lieu trong table
        /// </summary>
        /// <returns></returns>
        public List<Vw_aspnet_WebPartState_PathsEntity> SelectAllLST()
        { 
            return  (List<Vw_aspnet_WebPartState_PathsEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectAll(new Vw_aspnet_WebPartState_PathsEntity()),new Vw_aspnet_WebPartState_PathsEntity());           
        }
 
 
        /// <summary>
        /// Lay tat ca cac du lieu trong table
        /// </summary>
        /// <returns></returns>
        public List<Vw_aspnet_WebPartState_PathsEntity> SelectAllLST(SelectOptions option)
        { 
            return (List<Vw_aspnet_WebPartState_PathsEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectAll(new Vw_aspnet_WebPartState_PathsEntity(),option),new Vw_aspnet_WebPartState_PathsEntity());             
        }
 

        /// <summary>
        /// Lay du lieu theo cac dieu kien ApplicationId duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByApplicationId (Vw_aspnet_WebPartState_PathsEntity obj)
        { 
            return Adapter.SelectByField(obj,"ApplicationId");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien ApplicationId duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByApplicationId (Vw_aspnet_WebPartState_PathsEntity obj,SelectOptions option)
        { 
            return Adapter.SelectByField(obj,"ApplicationId",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien ApplicationId duoc set trong object
        /// </summary>
        /// <returns>List<Vw_aspnet_WebPartState_PathsEntity></returns>
        public List<Vw_aspnet_WebPartState_PathsEntity> SelectByApplicationIdLST (Vw_aspnet_WebPartState_PathsEntity obj)
        { 
            return  (List<Vw_aspnet_WebPartState_PathsEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"ApplicationId"),new Vw_aspnet_WebPartState_PathsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien ApplicationId duoc set trong object
        /// </summary>
        /// <returns>List<Vw_aspnet_WebPartState_PathsEntity></returns>
        public List<Vw_aspnet_WebPartState_PathsEntity> SelectByApplicationIdLST (Vw_aspnet_WebPartState_PathsEntity obj,SelectOptions option)
        { 
            return  (List<Vw_aspnet_WebPartState_PathsEntity>) EntityUtil.CopyDataTableToEntityList( Adapter.SelectByField(obj,"ApplicationId",option),new Vw_aspnet_WebPartState_PathsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien ApplicationId 
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByApplicationId (Guid ApplicationId )
        { 
            Vw_aspnet_WebPartState_PathsEntity obj = new Vw_aspnet_WebPartState_PathsEntity();
            obj.ApplicationId = ApplicationId;  
            return Adapter.SelectByField(obj,"ApplicationId");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien ApplicationId duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByApplicationId (Guid ApplicationId, SelectOptions option)
        { 
            Vw_aspnet_WebPartState_PathsEntity obj = new Vw_aspnet_WebPartState_PathsEntity();
            obj.ApplicationId = ApplicationId;  
            return Adapter.SelectByField(obj,"ApplicationId",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien ApplicationId 
        /// </summary>
        /// <returns>DataTable</returns>
        public List<Vw_aspnet_WebPartState_PathsEntity> SelectByApplicationIdLST (Guid ApplicationId )
        { 
            Vw_aspnet_WebPartState_PathsEntity obj = new Vw_aspnet_WebPartState_PathsEntity();
            obj.ApplicationId = ApplicationId;  
            return  (List<Vw_aspnet_WebPartState_PathsEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"ApplicationId"),new Vw_aspnet_WebPartState_PathsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien ApplicationId duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public List<Vw_aspnet_WebPartState_PathsEntity> SelectByApplicationIdLST (Guid ApplicationId, SelectOptions option)
        { 
            Vw_aspnet_WebPartState_PathsEntity obj = new Vw_aspnet_WebPartState_PathsEntity();
            obj.ApplicationId = ApplicationId;  
            return  (List<Vw_aspnet_WebPartState_PathsEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"ApplicationId",option),new Vw_aspnet_WebPartState_PathsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien LoweredPath duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByLoweredPath (Vw_aspnet_WebPartState_PathsEntity obj)
        { 
            return Adapter.SelectByField(obj,"LoweredPath");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien LoweredPath duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByLoweredPath (Vw_aspnet_WebPartState_PathsEntity obj,SelectOptions option)
        { 
            return Adapter.SelectByField(obj,"LoweredPath",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien LoweredPath duoc set trong object
        /// </summary>
        /// <returns>List<Vw_aspnet_WebPartState_PathsEntity></returns>
        public List<Vw_aspnet_WebPartState_PathsEntity> SelectByLoweredPathLST (Vw_aspnet_WebPartState_PathsEntity obj)
        { 
            return  (List<Vw_aspnet_WebPartState_PathsEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"LoweredPath"),new Vw_aspnet_WebPartState_PathsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien LoweredPath duoc set trong object
        /// </summary>
        /// <returns>List<Vw_aspnet_WebPartState_PathsEntity></returns>
        public List<Vw_aspnet_WebPartState_PathsEntity> SelectByLoweredPathLST (Vw_aspnet_WebPartState_PathsEntity obj,SelectOptions option)
        { 
            return  (List<Vw_aspnet_WebPartState_PathsEntity>) EntityUtil.CopyDataTableToEntityList( Adapter.SelectByField(obj,"LoweredPath",option),new Vw_aspnet_WebPartState_PathsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien LoweredPath 
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByLoweredPath (string LoweredPath )
        { 
            Vw_aspnet_WebPartState_PathsEntity obj = new Vw_aspnet_WebPartState_PathsEntity();
            obj.LoweredPath = LoweredPath;  
            return Adapter.SelectByField(obj,"LoweredPath");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien LoweredPath duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByLoweredPath (string LoweredPath, SelectOptions option)
        { 
            Vw_aspnet_WebPartState_PathsEntity obj = new Vw_aspnet_WebPartState_PathsEntity();
            obj.LoweredPath = LoweredPath;  
            return Adapter.SelectByField(obj,"LoweredPath",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien LoweredPath 
        /// </summary>
        /// <returns>DataTable</returns>
        public List<Vw_aspnet_WebPartState_PathsEntity> SelectByLoweredPathLST (string LoweredPath )
        { 
            Vw_aspnet_WebPartState_PathsEntity obj = new Vw_aspnet_WebPartState_PathsEntity();
            obj.LoweredPath = LoweredPath;  
            return  (List<Vw_aspnet_WebPartState_PathsEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"LoweredPath"),new Vw_aspnet_WebPartState_PathsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien LoweredPath duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public List<Vw_aspnet_WebPartState_PathsEntity> SelectByLoweredPathLST (string LoweredPath, SelectOptions option)
        { 
            Vw_aspnet_WebPartState_PathsEntity obj = new Vw_aspnet_WebPartState_PathsEntity();
            obj.LoweredPath = LoweredPath;  
            return  (List<Vw_aspnet_WebPartState_PathsEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"LoweredPath",option),new Vw_aspnet_WebPartState_PathsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien Path duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByPath (Vw_aspnet_WebPartState_PathsEntity obj)
        { 
            return Adapter.SelectByField(obj,"Path");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien Path duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByPath (Vw_aspnet_WebPartState_PathsEntity obj,SelectOptions option)
        { 
            return Adapter.SelectByField(obj,"Path",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien Path duoc set trong object
        /// </summary>
        /// <returns>List<Vw_aspnet_WebPartState_PathsEntity></returns>
        public List<Vw_aspnet_WebPartState_PathsEntity> SelectByPathLST (Vw_aspnet_WebPartState_PathsEntity obj)
        { 
            return  (List<Vw_aspnet_WebPartState_PathsEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"Path"),new Vw_aspnet_WebPartState_PathsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien Path duoc set trong object
        /// </summary>
        /// <returns>List<Vw_aspnet_WebPartState_PathsEntity></returns>
        public List<Vw_aspnet_WebPartState_PathsEntity> SelectByPathLST (Vw_aspnet_WebPartState_PathsEntity obj,SelectOptions option)
        { 
            return  (List<Vw_aspnet_WebPartState_PathsEntity>) EntityUtil.CopyDataTableToEntityList( Adapter.SelectByField(obj,"Path",option),new Vw_aspnet_WebPartState_PathsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien Path 
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByPath (string Path )
        { 
            Vw_aspnet_WebPartState_PathsEntity obj = new Vw_aspnet_WebPartState_PathsEntity();
            obj.Path = Path;  
            return Adapter.SelectByField(obj,"Path");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien Path duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByPath (string Path, SelectOptions option)
        { 
            Vw_aspnet_WebPartState_PathsEntity obj = new Vw_aspnet_WebPartState_PathsEntity();
            obj.Path = Path;  
            return Adapter.SelectByField(obj,"Path",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien Path 
        /// </summary>
        /// <returns>DataTable</returns>
        public List<Vw_aspnet_WebPartState_PathsEntity> SelectByPathLST (string Path )
        { 
            Vw_aspnet_WebPartState_PathsEntity obj = new Vw_aspnet_WebPartState_PathsEntity();
            obj.Path = Path;  
            return  (List<Vw_aspnet_WebPartState_PathsEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"Path"),new Vw_aspnet_WebPartState_PathsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien Path duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public List<Vw_aspnet_WebPartState_PathsEntity> SelectByPathLST (string Path, SelectOptions option)
        { 
            Vw_aspnet_WebPartState_PathsEntity obj = new Vw_aspnet_WebPartState_PathsEntity();
            obj.Path = Path;  
            return  (List<Vw_aspnet_WebPartState_PathsEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"Path",option),new Vw_aspnet_WebPartState_PathsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien PathId duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByPathId (Vw_aspnet_WebPartState_PathsEntity obj)
        { 
            return Adapter.SelectByField(obj,"PathId");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien PathId duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByPathId (Vw_aspnet_WebPartState_PathsEntity obj,SelectOptions option)
        { 
            return Adapter.SelectByField(obj,"PathId",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien PathId duoc set trong object
        /// </summary>
        /// <returns>List<Vw_aspnet_WebPartState_PathsEntity></returns>
        public List<Vw_aspnet_WebPartState_PathsEntity> SelectByPathIdLST (Vw_aspnet_WebPartState_PathsEntity obj)
        { 
            return  (List<Vw_aspnet_WebPartState_PathsEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"PathId"),new Vw_aspnet_WebPartState_PathsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien PathId duoc set trong object
        /// </summary>
        /// <returns>List<Vw_aspnet_WebPartState_PathsEntity></returns>
        public List<Vw_aspnet_WebPartState_PathsEntity> SelectByPathIdLST (Vw_aspnet_WebPartState_PathsEntity obj,SelectOptions option)
        { 
            return  (List<Vw_aspnet_WebPartState_PathsEntity>) EntityUtil.CopyDataTableToEntityList( Adapter.SelectByField(obj,"PathId",option),new Vw_aspnet_WebPartState_PathsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien PathId 
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByPathId (Guid PathId )
        { 
            Vw_aspnet_WebPartState_PathsEntity obj = new Vw_aspnet_WebPartState_PathsEntity();
            obj.PathId = PathId;  
            return Adapter.SelectByField(obj,"PathId");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien PathId duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByPathId (Guid PathId, SelectOptions option)
        { 
            Vw_aspnet_WebPartState_PathsEntity obj = new Vw_aspnet_WebPartState_PathsEntity();
            obj.PathId = PathId;  
            return Adapter.SelectByField(obj,"PathId",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien PathId 
        /// </summary>
        /// <returns>DataTable</returns>
        public List<Vw_aspnet_WebPartState_PathsEntity> SelectByPathIdLST (Guid PathId )
        { 
            Vw_aspnet_WebPartState_PathsEntity obj = new Vw_aspnet_WebPartState_PathsEntity();
            obj.PathId = PathId;  
            return  (List<Vw_aspnet_WebPartState_PathsEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"PathId"),new Vw_aspnet_WebPartState_PathsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien PathId duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public List<Vw_aspnet_WebPartState_PathsEntity> SelectByPathIdLST (Guid PathId, SelectOptions option)
        { 
            Vw_aspnet_WebPartState_PathsEntity obj = new Vw_aspnet_WebPartState_PathsEntity();
            obj.PathId = PathId;  
            return  (List<Vw_aspnet_WebPartState_PathsEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"PathId",option),new Vw_aspnet_WebPartState_PathsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien duoc set trong object
        /// </summary>
        /// <returns>List<Vw_aspnet_WebPartState_PathsEntity></returns>
        public List<Vw_aspnet_WebPartState_PathsEntity> SelectWithConditionLST (Vw_aspnet_WebPartState_PathsEntity obj)
        { 
            return  (List<Vw_aspnet_WebPartState_PathsEntity>) EntityUtil.CopyDataTableToEntityList( Adapter.SelectWithCondition(obj),new Vw_aspnet_WebPartState_PathsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien duoc set trong object
        /// </summary>
        /// <returns>List<Vw_aspnet_WebPartState_PathsEntity></returns>
        public List<Vw_aspnet_WebPartState_PathsEntity> SelectWithConditionLST (Vw_aspnet_WebPartState_PathsEntity obj,SelectOptions option)
        { 
            return  (List<Vw_aspnet_WebPartState_PathsEntity>) EntityUtil.CopyDataTableToEntityList( Adapter.SelectWithCondition(obj,option),new Vw_aspnet_WebPartState_PathsEntity());
        }

}
}
